<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: SList&lt; Ty, _Alloc &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="class_s_list-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SList&lt; Ty, _Alloc &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>单链表 只提供向前访问  
 <a href="class_s_list.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_s_list_8h_source.html">SList.h</a>&gt;</code></p>
<div class="dynheader">
类 SList&lt; Ty, _Alloc &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_s_list.png" usemap="#SList_3C_20Ty_2C_20_5FAlloc_20_3E_map" alt=""/>
  <map id="SList_3C_20Ty_2C_20_5FAlloc_20_3E_map" name="SList_3C_20Ty_2C_20_5FAlloc_20_3E_map">
<area href="class_s_list_base.html" title="单链表基类" alt="SListBase&lt; Ty, _Alloc &gt;" shape="rect" coords="0,0,150,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a1857e4abde5d06e90cf1a48e52b6d92e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a1857e4abde5d06e90cf1a48e52b6d92e">node_value</a></td></tr>
<tr class="separator:a1857e4abde5d06e90cf1a48e52b6d92e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2615e4b911e37081489f15d99133e7df"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a2615e4b911e37081489f15d99133e7df">iterator</a></td></tr>
<tr class="separator:a2615e4b911e37081489f15d99133e7df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a943de93d2ae138ca36385582385e8391"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a943de93d2ae138ca36385582385e8391">const_iterator</a></td></tr>
<tr class="separator:a943de93d2ae138ca36385582385e8391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8cdeb4e7ec76e8f73b71b4d24dd811f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a></td></tr>
<tr class="separator:aa8cdeb4e7ec76e8f73b71b4d24dd811f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac35bee173a95737a18031e227fc601b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#aac35bee173a95737a18031e227fc601b">difference_type</a></td></tr>
<tr class="separator:aac35bee173a95737a18031e227fc601b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d8212729f876d32b5d69adb42ee35ea"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a9d8212729f876d32b5d69adb42ee35ea">pointer</a></td></tr>
<tr class="separator:a9d8212729f876d32b5d69adb42ee35ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe7411ae2e90b08d3763d569d314542a"><td class="memItemLeft" align="right" valign="top">typedef const <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#afe7411ae2e90b08d3763d569d314542a">const_pointer</a></td></tr>
<tr class="separator:afe7411ae2e90b08d3763d569d314542a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cc8aa02ea1f5ed3ae10a0c3cdad07fb"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a4cc8aa02ea1f5ed3ae10a0c3cdad07fb">reference</a></td></tr>
<tr class="separator:a4cc8aa02ea1f5ed3ae10a0c3cdad07fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216599dfd5844777e023b9649cb5bbba"><td class="memItemLeft" align="right" valign="top">typedef const <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a></td></tr>
<tr class="separator:a216599dfd5844777e023b9649cb5bbba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69912e766e64f9ae4e0dac7b82a7abe9"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a69912e766e64f9ae4e0dac7b82a7abe9">Self</a></td></tr>
<tr class="separator:a69912e766e64f9ae4e0dac7b82a7abe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_s_list_base"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_s_list_base')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="class_s_list_base.html">SListBase&lt; Ty, _Alloc &gt;</a></td></tr>
<tr class="memitem:a92256571b9e201ac52fb3c3e7c2ae927 inherit pub_types_class_s_list_base"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a92256571b9e201ac52fb3c3e7c2ae927">value_type</a></td></tr>
<tr class="separator:a92256571b9e201ac52fb3c3e7c2ae927 inherit pub_types_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a47be4dadb7c023a9fe4171ed6c824 inherit pub_types_class_s_list_base"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_list___node.html">List_Node</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a></td></tr>
<tr class="separator:a78a47be4dadb7c023a9fe4171ed6c824 inherit pub_types_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9120a1c647ef4418bf90a7abcf9fd0f2 inherit pub_types_class_s_list_base"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_list___iterator.html">List_Iterator</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a></td></tr>
<tr class="separator:a9120a1c647ef4418bf90a7abcf9fd0f2 inherit pub_types_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e3f2e19fa60984559020677d416f38f inherit pub_types_class_s_list_base"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_list__const___iterator.html">List_const_Iterator</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a></td></tr>
<tr class="separator:a4e3f2e19fa60984559020677d416f38f inherit pub_types_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446454d7dc0d365601f38daecaa0e70d inherit pub_types_class_s_list_base"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a446454d7dc0d365601f38daecaa0e70d">Self</a></td></tr>
<tr class="separator:a446454d7dc0d365601f38daecaa0e70d inherit pub_types_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a45709bc9c22327c6516494a96f705916"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a45709bc9c22327c6516494a96f705916">SList</a> ()</td></tr>
<tr class="memdesc:a45709bc9c22327c6516494a96f705916"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个空的列表  <a href="class_s_list.html#a45709bc9c22327c6516494a96f705916">更多...</a><br /></td></tr>
<tr class="separator:a45709bc9c22327c6516494a96f705916"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09488529ebc88ff794893e2aa01a69de"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a09488529ebc88ff794893e2aa01a69de">SList</a> (<a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a> value)</td></tr>
<tr class="memdesc:a09488529ebc88ff794893e2aa01a69de"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个元素的列表  <a href="class_s_list.html#a09488529ebc88ff794893e2aa01a69de">更多...</a><br /></td></tr>
<tr class="separator:a09488529ebc88ff794893e2aa01a69de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073e0738d3593c3e78a94c3ac21ed64f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a073e0738d3593c3e78a94c3ac21ed64f">SList</a> (const <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;l)</td></tr>
<tr class="memdesc:a073e0738d3593c3e78a94c3ac21ed64f"><td class="mdescLeft">&#160;</td><td class="mdescRight">复制一个列表  <a href="class_s_list.html#a073e0738d3593c3e78a94c3ac21ed64f">更多...</a><br /></td></tr>
<tr class="separator:a073e0738d3593c3e78a94c3ac21ed64f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6c01f6ba97d706bfc6a92987882671f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#aa6c01f6ba97d706bfc6a92987882671f">operator=</a> (<a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;l)</td></tr>
<tr class="separator:aa6c01f6ba97d706bfc6a92987882671f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5924239961df31c386acc68236cfc900"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a5924239961df31c386acc68236cfc900">~SList</a> ()</td></tr>
<tr class="memdesc:a5924239961df31c386acc68236cfc900"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数释放内存  <a href="class_s_list.html#a5924239961df31c386acc68236cfc900">更多...</a><br /></td></tr>
<tr class="separator:a5924239961df31c386acc68236cfc900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad5ffd316322e8aa9be9380defacc36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a8ad5ffd316322e8aa9be9380defacc36">size</a> () const</td></tr>
<tr class="memdesc:a8ad5ffd316322e8aa9be9380defacc36"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回元素的大小  <a href="class_s_list.html#a8ad5ffd316322e8aa9be9380defacc36">更多...</a><br /></td></tr>
<tr class="separator:a8ad5ffd316322e8aa9be9380defacc36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b48968b04b9229ed20c65280684d054"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a3b48968b04b9229ed20c65280684d054">empty</a> () const</td></tr>
<tr class="memdesc:a3b48968b04b9229ed20c65280684d054"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断链表是否为空  <a href="class_s_list.html#a3b48968b04b9229ed20c65280684d054">更多...</a><br /></td></tr>
<tr class="separator:a3b48968b04b9229ed20c65280684d054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e008fd17f788c9126abbf75b1e13d17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a1e008fd17f788c9126abbf75b1e13d17">swap</a> (<a class="el" href="class_s_list.html">SList</a> &amp;l)</td></tr>
<tr class="memdesc:a1e008fd17f788c9126abbf75b1e13d17"><td class="mdescLeft">&#160;</td><td class="mdescRight">交换两个列表  <a href="class_s_list.html#a1e008fd17f788c9126abbf75b1e13d17">更多...</a><br /></td></tr>
<tr class="separator:a1e008fd17f788c9126abbf75b1e13d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3602c607764f52f30f7d864b6c76d3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#ae3602c607764f52f30f7d864b6c76d3d">pop_front</a> ()</td></tr>
<tr class="memdesc:ae3602c607764f52f30f7d864b6c76d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除第一个元素  <a href="class_s_list.html#ae3602c607764f52f30f7d864b6c76d3d">更多...</a><br /></td></tr>
<tr class="separator:ae3602c607764f52f30f7d864b6c76d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b1305385b81158125b8cdf33949ea01"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a3b1305385b81158125b8cdf33949ea01">erase_after</a> (<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> first, <a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> last)</td></tr>
<tr class="memdesc:a3b1305385b81158125b8cdf33949ea01"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除区间(first,last)之间的元素，并返回删除元素后的最后一个迭代器  <a href="class_s_list.html#a3b1305385b81158125b8cdf33949ea01">更多...</a><br /></td></tr>
<tr class="separator:a3b1305385b81158125b8cdf33949ea01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a776024e5a78510a39e71f1c6ae67e5f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a776024e5a78510a39e71f1c6ae67e5f3">clear</a> ()</td></tr>
<tr class="memdesc:a776024e5a78510a39e71f1c6ae67e5f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空所有元素  <a href="class_s_list.html#a776024e5a78510a39e71f1c6ae67e5f3">更多...</a><br /></td></tr>
<tr class="separator:a776024e5a78510a39e71f1c6ae67e5f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">返回第一个元素</div></td></tr>
<tr class="memitem:a4289dae4f7a2223678561351774e6ae1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a4289dae4f7a2223678561351774e6ae1">begin</a> ()</td></tr>
<tr class="separator:a4289dae4f7a2223678561351774e6ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53a2b9f49ed50dc8f94074d1175659f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a53a2b9f49ed50dc8f94074d1175659f1">cbegin</a> () const</td></tr>
<tr class="separator:a53a2b9f49ed50dc8f94074d1175659f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a043d551be57af2dc9b8eb1a974bad632"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a043d551be57af2dc9b8eb1a974bad632">front</a> () const</td></tr>
<tr class="separator:a043d551be57af2dc9b8eb1a974bad632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad811879115e804a8c2316af002f34652"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list.html#a4cc8aa02ea1f5ed3ae10a0c3cdad07fb">reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#ad811879115e804a8c2316af002f34652">front</a> ()</td></tr>
<tr class="separator:ad811879115e804a8c2316af002f34652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">返回结尾迭代器</div></td></tr>
<tr class="memitem:ab60f4cd9a2b85d1d4bb166286776d9d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#ab60f4cd9a2b85d1d4bb166286776d9d8">end</a> ()</td></tr>
<tr class="separator:ab60f4cd9a2b85d1d4bb166286776d9d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1c214c2975300040bac6859a5f65300"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#ad1c214c2975300040bac6859a5f65300">cend</a> () const</td></tr>
<tr class="separator:ad1c214c2975300040bac6859a5f65300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">在pos之后插入一个元素，返回插入元素的下一个迭代器</div></td></tr>
<tr class="memitem:a9ddb9cd131af2965184f3a127ef67a8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a9ddb9cd131af2965184f3a127ef67a8c">insert_after</a> (<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> pos, <a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a> value)</td></tr>
<tr class="separator:a9ddb9cd131af2965184f3a127ef67a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">在begin之前插入一个元素，并返回插入后元素的下一个迭代器</div></td></tr>
<tr class="memitem:a3bc522883368f7897d22ca1e0cb79f7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a3bc522883368f7897d22ca1e0cb79f7a">push_front</a> (<a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a> value)</td></tr>
<tr class="separator:a3bc522883368f7897d22ca1e0cb79f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">在end之前插入一个元素，并返回插入后元素的下一个迭代器</div></td></tr>
<tr class="memitem:ad4c16ab36ff96807d563b02cc48b390c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#ad4c16ab36ff96807d563b02cc48b390c">push_back</a> (<a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a> value)</td></tr>
<tr class="separator:ad4c16ab36ff96807d563b02cc48b390c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_list_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_list_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_s_list_base.html">SListBase&lt; Ty, _Alloc &gt;</a></td></tr>
<tr class="memitem:ac6583f1c55a6a5100407446cd72647dc inherit pub_methods_class_s_list_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ac6583f1c55a6a5100407446cd72647dc">BuyNode</a> ()</td></tr>
<tr class="separator:ac6583f1c55a6a5100407446cd72647dc inherit pub_methods_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac89f3b5f791a3bd9368f4929ceca32a9 inherit pub_methods_class_s_list_base"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ac89f3b5f791a3bd9368f4929ceca32a9">SellNode</a> (<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *node)</td></tr>
<tr class="separator:ac89f3b5f791a3bd9368f4929ceca32a9 inherit pub_methods_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a6497611c42c212f3f79e1e02ddd9b643"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#a6497611c42c212f3f79e1e02ddd9b643">Clear_Params</a> ()</td></tr>
<tr class="separator:a6497611c42c212f3f79e1e02ddd9b643"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a456d1759600789f85a940c745d708f30"><td class="memTemplParams" colspan="2">template&lt;class ref_type &gt; </td></tr>
<tr class="memitem:a456d1759600789f85a940c745d708f30"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_list.html#a456d1759600789f85a940c745d708f30">Insert</a> (<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> where, ref_type value)</td></tr>
<tr class="separator:a456d1759600789f85a940c745d708f30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9a805f94689756bde91be94664cc13e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list.html#aa9a805f94689756bde91be94664cc13e">Insert</a> (<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> where, const <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;l)</td></tr>
<tr class="separator:aa9a805f94689756bde91be94664cc13e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_s_list_base"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_list_base')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_s_list_base.html">SListBase&lt; Ty, _Alloc &gt;</a></td></tr>
<tr class="memitem:a355a4d3f0c950e4de965cae4dbbfe0af inherit pro_attribs_class_s_list_base"><td class="memItemLeft" align="right" valign="top">_Alloc&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a355a4d3f0c950e4de965cae4dbbfe0af">_alloc</a></td></tr>
<tr class="separator:a355a4d3f0c950e4de965cae4dbbfe0af inherit pro_attribs_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1a7972f81887a5a8439113ee1cf645 inherit pro_attribs_class_s_list_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#acd1a7972f81887a5a8439113ee1cf645">_size</a></td></tr>
<tr class="separator:acd1a7972f81887a5a8439113ee1cf645 inherit pro_attribs_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8217cae10fa234dab1ba54268e45b6b8 inherit pro_attribs_class_s_list_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a8217cae10fa234dab1ba54268e45b6b8">_HNode</a></td></tr>
<tr class="separator:a8217cae10fa234dab1ba54268e45b6b8 inherit pro_attribs_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade8a5b267164a45e43b6b5436ef81c62 inherit pro_attribs_class_s_list_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ade8a5b267164a45e43b6b5436ef81c62">_ENode</a></td></tr>
<tr class="separator:ade8a5b267164a45e43b6b5436ef81c62 inherit pro_attribs_class_s_list_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt;<br />
class SList&lt; Ty, _Alloc &gt;</h3>

<p>单链表 只提供向前访问 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00286">286</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="a943de93d2ae138ca36385582385e8391"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a943de93d2ae138ca36385582385e8391">&#9670;&nbsp;</a></span>const_iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt;Ty, _Alloc&gt;::<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00300">300</a> 行定义.</p>

</div>
</div>
<a id="afe7411ae2e90b08d3763d569d314542a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe7411ae2e90b08d3763d569d314542a">&#9670;&nbsp;</a></span>const_pointer</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty* <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#afe7411ae2e90b08d3763d569d314542a">const_pointer</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00305">305</a> 行定义.</p>

</div>
</div>
<a id="a216599dfd5844777e023b9649cb5bbba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a216599dfd5844777e023b9649cb5bbba">&#9670;&nbsp;</a></span>const_reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty&amp; <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00307">307</a> 行定义.</p>

</div>
</div>
<a id="aac35bee173a95737a18031e227fc601b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac35bee173a95737a18031e227fc601b">&#9670;&nbsp;</a></span>difference_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#aac35bee173a95737a18031e227fc601b">difference_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00303">303</a> 行定义.</p>

</div>
</div>
<a id="a2615e4b911e37081489f15d99133e7df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2615e4b911e37081489f15d99133e7df">&#9670;&nbsp;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt;Ty, _Alloc&gt;::<a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00299">299</a> 行定义.</p>

</div>
</div>
<a id="a1857e4abde5d06e90cf1a48e52b6d92e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1857e4abde5d06e90cf1a48e52b6d92e">&#9670;&nbsp;</a></span>node_value</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_s_list_base.html">SListBase</a>&lt;Ty, _Alloc&gt;::<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00298">298</a> 行定义.</p>

</div>
</div>
<a id="a9d8212729f876d32b5d69adb42ee35ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d8212729f876d32b5d69adb42ee35ea">&#9670;&nbsp;</a></span>pointer</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty* <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#a9d8212729f876d32b5d69adb42ee35ea">pointer</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00304">304</a> 行定义.</p>

</div>
</div>
<a id="a4cc8aa02ea1f5ed3ae10a0c3cdad07fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cc8aa02ea1f5ed3ae10a0c3cdad07fb">&#9670;&nbsp;</a></span>reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty&amp; <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#a4cc8aa02ea1f5ed3ae10a0c3cdad07fb">reference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00306">306</a> 行定义.</p>

</div>
</div>
<a id="a69912e766e64f9ae4e0dac7b82a7abe9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69912e766e64f9ae4e0dac7b82a7abe9">&#9670;&nbsp;</a></span>Self</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list.html">SList</a>&lt;Ty, _Alloc&gt; <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a446454d7dc0d365601f38daecaa0e70d">Self</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00311">311</a> 行定义.</p>

</div>
</div>
<a id="aa8cdeb4e7ec76e8f73b71b4d24dd811f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8cdeb4e7ec76e8f73b71b4d24dd811f">&#9670;&nbsp;</a></span>size_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> size_t <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00302">302</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a45709bc9c22327c6516494a96f705916"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45709bc9c22327c6516494a96f705916">&#9670;&nbsp;</a></span>SList() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html">SList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造一个空的列表 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00314">314</a> 行定义.</p>

</div>
</div>
<a id="a09488529ebc88ff794893e2aa01a69de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09488529ebc88ff794893e2aa01a69de">&#9670;&nbsp;</a></span>SList() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html">SList</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造一个元素的列表 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00320">320</a> 行定义.</p>

</div>
</div>
<a id="a073e0738d3593c3e78a94c3ac21ed64f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a073e0738d3593c3e78a94c3ac21ed64f">&#9670;&nbsp;</a></span>SList() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list.html">SList</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>l</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>复制一个列表 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00327">327</a> 行定义.</p>

</div>
</div>
<a id="a5924239961df31c386acc68236cfc900"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5924239961df31c386acc68236cfc900">&#9670;&nbsp;</a></span>~SList()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::~<a class="el" href="class_s_list.html">SList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>析构函数释放内存 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00380">380</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a4289dae4f7a2223678561351774e6ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4289dae4f7a2223678561351774e6ae1">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00394">394</a> 行定义.</p>

</div>
</div>
<a id="a53a2b9f49ed50dc8f94074d1175659f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53a2b9f49ed50dc8f94074d1175659f1">&#9670;&nbsp;</a></span>cbegin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::cbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00395">395</a> 行定义.</p>

</div>
</div>
<a id="ad1c214c2975300040bac6859a5f65300"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1c214c2975300040bac6859a5f65300">&#9670;&nbsp;</a></span>cend()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::cend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00403">403</a> 行定义.</p>

</div>
</div>
<a id="a776024e5a78510a39e71f1c6ae67e5f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a776024e5a78510a39e71f1c6ae67e5f3">&#9670;&nbsp;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清空所有元素 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00491">491</a> 行定义.</p>

</div>
</div>
<a id="a6497611c42c212f3f79e1e02ddd9b643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6497611c42c212f3f79e1e02ddd9b643">&#9670;&nbsp;</a></span>Clear_Params()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::Clear_Params </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00289">289</a> 行定义.</p>

</div>
</div>
<a id="a3b48968b04b9229ed20c65280684d054"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b48968b04b9229ed20c65280684d054">&#9670;&nbsp;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断链表是否为空 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00418">418</a> 行定义.</p>

</div>
</div>
<a id="ab60f4cd9a2b85d1d4bb166286776d9d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab60f4cd9a2b85d1d4bb166286776d9d8">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00402">402</a> 行定义.</p>

</div>
</div>
<a id="a3b1305385b81158125b8cdf33949ea01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b1305385b81158125b8cdf33949ea01">&#9670;&nbsp;</a></span>erase_after()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::erase_after </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除区间(first,last)之间的元素，并返回删除元素后的最后一个迭代器 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00475">475</a> 行定义.</p>

</div>
</div>
<a id="ad811879115e804a8c2316af002f34652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad811879115e804a8c2316af002f34652">&#9670;&nbsp;</a></span>front() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html#a4cc8aa02ea1f5ed3ae10a0c3cdad07fb">reference</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00411">411</a> 行定义.</p>

</div>
</div>
<a id="a043d551be57af2dc9b8eb1a974bad632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a043d551be57af2dc9b8eb1a974bad632">&#9670;&nbsp;</a></span>front() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00410">410</a> 行定义.</p>

</div>
</div>
<a id="aa9a805f94689756bde91be94664cc13e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9a805f94689756bde91be94664cc13e">&#9670;&nbsp;</a></span>Insert() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::Insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td>
          <td class="paramname"><em>where</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>l</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00547">547</a> 行定义.</p>

</div>
</div>
<a id="a456d1759600789f85a940c745d708f30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a456d1759600789f85a940c745d708f30">&#9670;&nbsp;</a></span>Insert() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<div class="memtemplate">
template&lt;class ref_type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::Insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td>
          <td class="paramname"><em>where</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ref_type&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00497">497</a> 行定义.</p>

</div>
</div>
<a id="a9ddb9cd131af2965184f3a127ef67a8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ddb9cd131af2965184f3a127ef67a8c">&#9670;&nbsp;</a></span>insert_after()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::insert_after </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a>&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00436">436</a> 行定义.</p>

</div>
</div>
<a id="aa6c01f6ba97d706bfc6a92987882671f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6c01f6ba97d706bfc6a92987882671f">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html">SList</a>&lt;Ty, _Alloc&gt;&amp; <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>l</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00333">333</a> 行定义.</p>

</div>
</div>
<a id="ae3602c607764f52f30f7d864b6c76d3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3602c607764f52f30f7d864b6c76d3d">&#9670;&nbsp;</a></span>pop_front()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::pop_front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除第一个元素 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00463">463</a> 行定义.</p>

</div>
</div>
<a id="ad4c16ab36ff96807d563b02cc48b390c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4c16ab36ff96807d563b02cc48b390c">&#9670;&nbsp;</a></span>push_back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00456">456</a> 行定义.</p>

</div>
</div>
<a id="a3bc522883368f7897d22ca1e0cb79f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc522883368f7897d22ca1e0cb79f7a">&#9670;&nbsp;</a></span>push_front()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::push_front </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list.html#a216599dfd5844777e023b9649cb5bbba">const_reference</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00446">446</a> 行定义.</p>

</div>
</div>
<a id="a8ad5ffd316322e8aa9be9380defacc36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ad5ffd316322e8aa9be9380defacc36">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list.html#aa8cdeb4e7ec76e8f73b71b4d24dd811f">size_type</a> <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回元素的大小 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00415">415</a> 行定义.</p>

</div>
</div>
<a id="a1e008fd17f788c9126abbf75b1e13d17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e008fd17f788c9126abbf75b1e13d17">&#9670;&nbsp;</a></span>swap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt;::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list.html">SList</a>&lt; Ty, _Alloc &gt; &amp;&#160;</td>
          <td class="paramname"><em>l</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>交换两个列表 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00421">421</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/algorithm/<a class="el" href="_s_list_8h_source.html">SList.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
